package com.guomao;

import java.io.PrintStream;

public class JavaDemo6 {


    public static void main(String[] args) {
        System.out.println();


        PrintStream out = System.out;

        out.println(10);
    }

//    int x = 100;
//    int x = 200;

    public int sum(int x, int y) {
        return x + y;
    }

    public int sum(int x) {
        return x ;
    }


/*    public int sum(int x, int y) {
        return x + y;
    }*/

    public double sum(double x, double y) {
        return x + y;
    }

}
